package com.fasteat.mall.entity.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author 白sa能
 * @className
 * @date Created in 9:06 PM 3/15/21
 * @package com.fasteat.mall.entity.vo
 * @Description
 */
public class ProductCommentVo {
    @ApiModelProperty(value = "id")
    private String id;

    @ApiModelProperty(value = "商品id")
    private String productId;

    @ApiModelProperty(value = "用户id")
    private String userId;

    @ApiModelProperty(value = "星星数量(0～5	)")
    private Integer startAmount;

    @ApiModelProperty(value = "评论内容")
    private String commentContent;

    @ApiModelProperty(value = "创建时间")
    private Date gmtCreate;

    @ApiModelProperty(value = "修改时间")
    private Date gmtModified;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "首页图")
    private String avatar;

    @ApiModelProperty(value = "现价")
    private BigDecimal salePrice;

    public ProductCommentVo(String id, String productId, String userId, Integer startAmount, String commentContent, Date gmtCreate, Date gmtModified, String title, String avatar, BigDecimal salePrice) {
        this.id = id;
        this.productId = productId;
        this.userId = userId;
        this.startAmount = startAmount;
        this.commentContent = commentContent;
        this.gmtCreate = gmtCreate;
        this.gmtModified = gmtModified;
        this.title = title;
        this.avatar = avatar;
        this.salePrice = salePrice;
    }

    public ProductCommentVo() {
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Integer getStartAmount() {
        return startAmount;
    }

    public void setStartAmount(Integer startAmount) {
        this.startAmount = startAmount;
    }

    public String getCommentContent() {
        return commentContent;
    }

    public void setCommentContent(String commentContent) {
        this.commentContent = commentContent;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public BigDecimal getSalePrice() {
        return salePrice;
    }

    public void setSalePrice(BigDecimal salePrice) {
        this.salePrice = salePrice;
    }
}
